/**
 * 
 */
package group.anglers.bpmn.core.local.model.mappings;

import java.util.Date;

import group.anglers.om.core.annotations.Column;
import group.anglers.om.core.annotations.ColumnPK;
import group.anglers.om.core.annotations.Model;

/**
 * @author an.pham
 * 
 */
@Model(mapping = "Task")
public class Task {
	@ColumnPK
	private Long taskId;
	@Column
	private String itemId;
	@Column
	private Long processInstanceId;
	@Column
	private String status;
	@Column
	private String ownerByUser;
	@Column
	private String ownerByGroup;
	@Column
	private Date createdOn;

	public Long getTaskId() {
		return taskId;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public Long getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(Long processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getOwnerByUser() {
		return ownerByUser;
	}

	public void setOwnerByUser(String ownerByUser) {
		this.ownerByUser = ownerByUser;
	}

	public String getOwnerByGroup() {
		return ownerByGroup;
	}

	public void setOwnerByGroup(String ownerByGroup) {
		this.ownerByGroup = ownerByGroup;
	}

	public Date getCreatedOn() {
		return createdOn;
	}

	public void setCreatedOn(Date createdOn) {
		this.createdOn = createdOn;
	}

}
